<style>
	.datatable {
		text-align: left;
		font-size: 12px;
		font-family: verdana;
		background: #c0c0c0; margin:2px;
	}

	.datatable thead tr,

	.datatable tfoot tr {
		background: #c0c0c0;
	}

	.datatable tbody tr {
		background: #f0f0f0;
	}

	.datatable td, th {
		border: 1px solid white; height:28px;
	}
	.datatable td {background-color:white;}
	
	.datatable .hover td {background-color:#99CCFF;}
	
	.datatable .select td {background-color:#EEEE99;}

	#ui-datepicker-div{ font-size:12px;}
</style>
<form action="/admini/managepay/agentpay" method="post" style="margin:0px">
<div style=" border:1px solid #DDDDDD; padding:2px; margin:2px;">
<label for="member">用户名：</label><input type="text" id="username" name="username" />
<input type="submit" id="queryButton" value="查询" class="sb"/>
</div>
</form>
<table cellspacing="1" width="100%" class="datatable">
	<thead>
		<tr>
                        <th></th>
			<th>ID</th>
                        <th>状态</th>
                        <th>用户名</th>
			<th>创建时间</th>
			<th>金额</th>
                        <th>服务费</th>
			<th>实名</th>
			<th>支付宝账号</th>
		</tr>
	</thead>
	<tbody>
            <?php if($this->topUpAlipayList)
            {
                foreach ($this->topUpAlipayList as $Item) {?>
                <tr>
                <td><input type="checkbox" value="<?php echo $Item->id;?>" class="checkbox-del"></td>
                <td><?php echo $Item->id;?></td>
                <td><?php echo $Item->status;?></td>
                <td><?php echo $Item->userinfo->nikename;?></td>
                <td><?php echo $Item->dateCreated;?></td>                
                <td><?php echo number_format($Item->amount,2);?></td>
                <td><?php echo number_format($Item->serviceFee,2);?></td>
                <td><?php echo $Item->realname;?></td>
                <td><?php echo $Item->useraccount;?></td>
                </tr>
                <?php                 
                }                
            }?>
        <tfoot>
            <tr><td colspan="14"><button class="button" id="del-button" class="rb">删除选中</button><button class="button" id="accep-button" class="sb">发货</button></td></tr>
        </tfoot>
	</tbody>
</table>
<?php
    echo $this->partial('paging.phtml',array("pages"=>$this->Agentpay));                
?>